package vip.xiaonuo.hontu.issued.response;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class BatchDeletePersonResponse {


    /**
     * code
     */
    @JSONField(name = "code")
    private Integer code;
    /**
     * data
     */
    @JSONField(name = "data")
    private DataDTO data;
    /**
     * msg
     */
    @JSONField(name = "msg")
    private String msg;

    /**
     * DataDTO
     */
    @NoArgsConstructor
    @Data
    @Accessors(chain = true)
    public static class DataDTO {

        /**
         * failures
         */
        @JSONField(name = "failures")
        private List<SuccessesDTO> failures;
        /**
         * successes
         */
        @JSONField(name = "successes")
        private List<SuccessesDTO> successes;

        /**
         * SuccessesDTO
         */
        @NoArgsConstructor
        @Data
        public static class SuccessesDTO {

            private Integer code;

            private String msg;
            /**
             * uuid
             */
            @JSONField(name = "uuid")
            private String uuid;
        }
    }
}
